package com.devshephard.rpcframework.acm.tree.util;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TreeEntity implements Serializable {

    public String rootName;

    public Integer rootInteger;

    public List<TreeEntity> children = new ArrayList<>();


    public String getRootName() {
        return rootName;
    }

    public void setRootName(String rootName) {
        this.rootName = rootName;

    }

    public List<TreeEntity> getChildren() {
        return children;
    }

    public void setChildren(List<TreeEntity> children) {
        this.children = children;
    }

    public Integer getRootInteger() {
        return rootInteger;
    }

    public void setRootInteger(Integer rootInteger) {
        this.rootInteger = rootInteger;
    }
}
